﻿using System;
using System.ComponentModel.DataAnnotations;
using WebTest.Core.Entities.Interfaces;

namespace WebTest.Core.Entities
{
    public abstract class BaseEntity : IEntity, IDateTimeEntity, IRowVersion
    {
        public virtual int Id { get; set; }
        public DateTime CreateDateTime { get; set; }
        public DateTime ModifyDateTime { get; set; }
        [Timestamp]
        public byte[] RowVersion { get; set; }
    }
}
